package com.cooge.jiexi;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;

public class EpgHot {

	public static void main(String[] args) throws Exception {
			String html = NetUtil.getHtml("http://api2.kanketv.com/api/v1/epg/currentHotFilterEpg.json?appKey=D176EB3E8B1F044B&appScrect=64");
			JSONObject json = JSONObject.parseObject(html);
			JSONArray list = json.getJSONObject("kanke").getJSONArray("list");
			System.out.println(list.size());
	}

}
